[INFO] cloning repository https://github.com/nastevens/rnav
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nastevens/rnav" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnastevens%2Frnav", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnastevens%2Frnav'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 778e0a4aa6c0c9277369686f29921373da71efb5
[INFO] testing nastevens/rnav against master#d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d for pr-83796
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnastevens%2Frnav" "/workspace/builds/worker-0/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/nastevens/rnav on toolchain d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/nastevens/rnav
[INFO] finished tweaking git repo https://github.com/nastevens/rnav
[INFO] tweaked toml for git repo https://github.com/nastevens/rnav written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] crate git repo https://github.com/nastevens/rnav already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] error: the lock file /workspace/builds/worker-0/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag.
[INFO] the lockfile is outdated, regenerating it
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] [stderr]     Updating git repository `https://github.com/docopt/docopt.rs`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 998969175b9f4d1f98dc15a8043467407ac29969831f577a0ec0cbd8c35d6508
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "998969175b9f4d1f98dc15a8043467407ac29969831f577a0ec0cbd8c35d6508", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "998969175b9f4d1f98dc15a8043467407ac29969831f577a0ec0cbd8c35d6508", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "998969175b9f4d1f98dc15a8043467407ac29969831f577a0ec0cbd8c35d6508", kill_on_drop: false }`
[INFO] [stdout] 998969175b9f4d1f98dc15a8043467407ac29969831f577a0ec0cbd8c35d6508
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 7e8b2545b95af67845740cbab146e5b99572555d90486c68eac87d3b6a9b0e9c
[INFO] running `Command { std: "docker" "start" "-a" "7e8b2545b95af67845740cbab146e5b99572555d90486c68eac87d3b6a9b0e9c", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling regex-syntax v0.6.25
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]    Compiling rustc-serialize v0.3.24
[INFO] [stderr]    Compiling syn v1.0.72
[INFO] [stderr]    Compiling regex v1.5.3
[INFO] [stderr]    Compiling serde_derive v1.0.125
[INFO] [stderr]    Compiling serde v1.0.125
[INFO] [stderr]    Compiling docopt v1.1.1 (https://github.com/docopt/docopt.rs#375474a9)
[INFO] [stderr]    Compiling rnav v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `std::fs::PathExt`
[INFO] [stdout]   --> src/main.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::fs::PathExt;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^ no `PathExt` in `fs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `printf` in this scope
[INFO] [stdout]   --> src/main.rs:67:17
[INFO] [stdout]    |
[INFO] [stdout] 67 |           None => printf!("echo \"Alias {} is not defined\" >&2", alias)
[INFO] [stdout]    |                   ^^^^^^ help: a macro with a similar name exists: `print`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]   --> src/main.rs:31:10
[INFO] [stdout]    |
[INFO] [stdout] 31 | #[derive(RustcDecodable)]
[INFO] [stdout]    |          ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead.
[INFO] [stdout]   --> src/main.rs:44:11
[INFO] [stdout]    |
[INFO] [stdout] 44 |     match env::home_dir() {
[INFO] [stdout]    |           ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:65:32
[INFO] [stdout]    |
[INFO] [stdout] 65 |     match get_target_for_alias(alias) {
[INFO] [stdout]    |                                ^^^^^
[INFO] [stdout]    |                                |
[INFO] [stdout]    |                                expected `&str`, found struct `std::string::String`
[INFO] [stdout]    |                                help: consider borrowing here: `&alias`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:64:28
[INFO] [stdout]    |
[INFO] [stdout] 64 | fn do_cd(alias: String) -> i32 {
[INFO] [stdout]    |    -----                   ^^^ expected `i32`, found `()`
[INFO] [stdout]    |    |
[INFO] [stdout]    |    implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `decode` found for struct `Docopt` in the current scope
[INFO] [stdout]   --> src/main.rs:97:45
[INFO] [stdout]    |
[INFO] [stdout] 97 | ...                   .and_then(|d| d.decode())
[INFO] [stdout]    |                                       ^^^^^^ method not found in `Docopt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:106:9
[INFO] [stdout]     |
[INFO] [stdout] 95  | fn dispatch_command() -> i32 {
[INFO] [stdout]     |                          --- expected `i32` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 106 |         do_add(opt)
[INFO] [stdout]     |         ^^^^^^^^^^^ expected `i32`, found struct `std::string::String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:108:9
[INFO] [stdout]     |
[INFO] [stdout] 95  | fn dispatch_command() -> i32 {
[INFO] [stdout]     |                          --- expected `i32` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 108 |         do_show(opt)
[INFO] [stdout]     |         ^^^^^^^^^^^^ expected `i32`, found struct `std::string::String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:110:9
[INFO] [stdout]     |
[INFO] [stdout] 95  | fn dispatch_command() -> i32 {
[INFO] [stdout]     |                          --- expected `i32` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 110 |         do_rm(opt)
[INFO] [stdout]     |         ^^^^^^^^^^ expected `i32`, found struct `std::string::String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:112:9
[INFO] [stdout]     |
[INFO] [stdout] 95  | fn dispatch_command() -> i32 {
[INFO] [stdout]     |                          --- expected `i32` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 112 |         do_clear(opt)
[INFO] [stdout]     |         ^^^^^^^^^^^^^ expected `i32`, found struct `std::string::String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:114:9
[INFO] [stdout]     |
[INFO] [stdout] 95  | fn dispatch_command() -> i32 {
[INFO] [stdout]     |                          --- expected `i32` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 114 |         do_list(opt)
[INFO] [stdout]     |         ^^^^^^^^^^^^ expected `i32`, found struct `std::string::String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:116:9
[INFO] [stdout]     |
[INFO] [stdout] 95  | fn dispatch_command() -> i32 {
[INFO] [stdout]     |                          --- expected `i32` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 116 |         do_prune(opt)
[INFO] [stdout]     |         ^^^^^^^^^^^^^ expected `i32`, found struct `std::string::String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:125:5
[INFO] [stdout]     |
[INFO] [stdout] 122 | fn main() {
[INFO] [stdout]     |           - expected `()` because of default return type
[INFO] [stdout] ...
[INFO] [stdout] 125 |     dispatch_command()
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^- help: consider using a semicolon here: `;`
[INFO] [stdout]     |     |
[INFO] [stdout]     |     expected `()`, found `i32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 12 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rnav`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "7e8b2545b95af67845740cbab146e5b99572555d90486c68eac87d3b6a9b0e9c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7e8b2545b95af67845740cbab146e5b99572555d90486c68eac87d3b6a9b0e9c", kill_on_drop: false }`
[INFO] [stdout] 7e8b2545b95af67845740cbab146e5b99572555d90486c68eac87d3b6a9b0e9c
